package com.example.JavaWebApi.core.mybatisplusextention.wrapperCreator.annotation;

import com.example.JavaWebApi.core.mybatisplusextention.wrapperCreator.ConnectorType;
import com.example.JavaWebApi.core.mybatisplusextention.wrapperCreator.OperatorType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @program: java-web-api
 * @description: 操作符注解
 * @author: 杨泽
 * @create: 2023-07-03 16:56
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Operator {
    OperatorType operatorType() default OperatorType.Equal;

    ConnectorType connectorType() default ConnectorType.And;
}
